package com.jiunuan.live.user.provider.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 消费者的配置信息
 */
@ConfigurationProperties(prefix = "jiunuan.rocketmq.consumer")
@Configuration
@Data
public class RocketMQConsumerProperties {
    /**
     * rocketmq的nameserver地址
     */
    private String nameSrv;

    /**
     * 消费者的组名
     */
    private String groupName;
}
